YellowTree\GeoipDetect\DataSources\DataSourceRegistry S

Total Complexity 24
Dependencies 1
Dependents 13
Total lines 133
Lines of code 74
Logical lines of code 39
Comment lines 31
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
getSource()
S
63 5 10
uninstall()
S
62 4 12
clearCache()
S
65 3 10
getInstance()
S
71 2 6
setCurrentSource()
S
64 2 10
__construct()
S
81 1 3
register()
S
76 1 4
getCurrentSourceId()
S
79 1 3
getCurrentSource()
S
80 1 3
sourceExists()
S
79 1 3
getAllSources()
S
82 1 3
isSourceCachable()
S
74 1 4
isCachingUsed()
S
80 1 3